package com.cgnpc.scp.purchase.mybatis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cgnpc.scp.common.utils.DateUtil;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@TableName("tbl_purchase_contract_apply")
public class ContractProcessApply {
    private String id;

    private String procInstId;

    private String folio;

    private String deptId;

    private String deptName;

    private String contactUser;

    private String mobile;

    private String year;

    private String fileId;

    private String fileName;

    private String nextParticipantId;

    private String nextParticipantName;

    private String copyToId;

    private String copyToName;

    private Date createTime;

    private String createUser;

    private String createUserName;

    private Date lastUpdateTime;

    private String lastUpdateUser;

    private String lastUpdateUserName;

    @TableField(exist=false)
    private List<PurchaseContractItem> purchaseContractItemList = new ArrayList<PurchaseContractItem>();

    private String filePath;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getProcInstId() {
        return procInstId;
    }

    public void setProcInstId(String procInstId) {
        this.procInstId = procInstId == null ? null : procInstId.trim();
    }

    public String getFolio() {
        return folio;
    }

    public void setFolio(String folio) {
        this.folio = folio == null ? null : folio.trim();
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId == null ? null : deptId.trim();
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName == null ? null : deptName.trim();
    }

    public String getContactUser() {
        return contactUser;
    }

    public void setContactUser(String contactUser) {
        this.contactUser = contactUser == null ? null : contactUser.trim();
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year == null ? null : year.trim();
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId == null ? null : fileId.trim();
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName == null ? null : fileName.trim();
    }

    public String getNextParticipantId() {
        return nextParticipantId;
    }

    public void setNextParticipantId(String nextParticipantId) {
        this.nextParticipantId = nextParticipantId == null ? null : nextParticipantId.trim();
    }

    public String getNextParticipantName() {
        return nextParticipantName;
    }

    public void setNextParticipantName(String nextParticipantName) {
        this.nextParticipantName = nextParticipantName == null ? null : nextParticipantName.trim();
    }

    public String getCopyToId() {
        return copyToId;
    }

    public void setCopyToId(String copyToId) {
        this.copyToId = copyToId == null ? null : copyToId.trim();
    }

    public String getCopyToName() {
        return copyToName;
    }

    public void setCopyToName(String copyToName) {
        this.copyToName = copyToName == null ? null : copyToName.trim();
    }

    public Date getCreateTime() {
        return DateUtil.cloneNewDate(createTime);
    }

    public void setCreateTime(Date createTime) {
        this.createTime = DateUtil.cloneNewDate(createTime);
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName == null ? null : createUserName.trim();
    }

    public Date getLastUpdateTime() {
        return DateUtil.cloneNewDate(lastUpdateTime);
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = DateUtil.cloneNewDate(lastUpdateTime);
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser == null ? null : lastUpdateUser.trim();
    }

    public String getLastUpdateUserName() {
        return lastUpdateUserName;
    }

    public void setLastUpdateUserName(String lastUpdateUserName) {
        this.lastUpdateUserName = lastUpdateUserName == null ? null : lastUpdateUserName.trim();
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath == null ? null : filePath.trim();
    }

    public List<PurchaseContractItem> getPurchaseContractItemList() {
        return purchaseContractItemList;
    }

    public void setPurchaseContractItemList(List<PurchaseContractItem> purchaseContractItemList) {
        this.purchaseContractItemList = purchaseContractItemList;
    }
}